﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Entity;

namespace Domain.Abstract
{
    public interface IAccountRepository : IRepository
    {
        IQueryable<Account> Accounts { get; }

        void SaveAccount(Account account);

        void DeleteAccount(Account account);

        Account FindAccount(int id);

        Account FindAccountByUsername(string username);
    }
}
